/*  1:   */ package com.tanke;
/*  2:   */ 
/*  3:   */ import java.awt.Image;
/*  4:   */ import java.awt.Panel;
/*  5:   */ import java.awt.Toolkit;
/*  6:   */ 
/*  7:   */ class Bom
/*  8:   */   implements Runnable
/*  9:   */ {
/* 10:   */   int x;
/* 11:   */   int y;
/* 12:15 */   Image image1 = null;
/* 13:16 */   Image image2 = null;
/* 14:17 */   Image image3 = null;
/* 15:18 */   int drawIndex = 0;
/* 16:20 */   boolean isLive = true;
/* 17:   */   
/* 18:   */   public Bom(int x, int y)
/* 19:   */   {
/* 20:23 */     this.x = x;
/* 21:24 */     this.y = y;
/* 22:25 */     this.image1 = Toolkit.getDefaultToolkit().getImage(Panel.class.getResource("/bomb_1.gif"));
/* 23:26 */     this.image2 = Toolkit.getDefaultToolkit().getImage(Panel.class.getResource("/bomb_2.gif"));
/* 24:27 */     this.image3 = Toolkit.getDefaultToolkit().getImage(Panel.class.getResource("/bomb_3.gif"));
/* 25:   */   }
/* 26:   */   
/* 27:   */   public void run()
/* 28:   */   {
/* 29:   */     for (;;)
/* 30:   */     {
/* 31:   */       try
/* 32:   */       {
/* 33:34 */         Thread.sleep(200L);
/* 34:   */       }
/* 35:   */       catch (InterruptedException e)
/* 36:   */       {
/* 37:36 */         e.printStackTrace();
/* 38:   */       }
/* 39:38 */       if (this.drawIndex >= 4) {
/* 40:   */         break;
/* 41:   */       }
/* 42:40 */       this.drawIndex += 1;
/* 43:   */     }
/* 44:44 */     this.isLive = false;
/* 45:   */   }
/* 46:   */ }


/* Location:           C:\Users\Cheese\Desktop\坦克大战\坦克大战.jar
 * Qualified Name:     com.tanke.Bom
 * JD-Core Version:    0.7.0.1
 */